package base.thread_JUC2.chapter03.demo04;

public class Results {
    private int[] data;

    public Results (int size){
        data = new int[size];
    }

    public void setData(int index, int value){
        data[index] = value;
    }

    public int[] getData (){
        return data;
    }

}
